object_class->get_property = gdk_device_get_property;
/**
- * GdkDevice:display:
+ * GdkDevice:display: (attributes org.gtk.Property.get=gdk_device_get_display)
*
* The #GdkDisplay the #GdkDevice pertains to.
*/
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:name:
+ * GdkDevice:name: (attributes org.gtk.Property.get=gdk_device_get_name)
*
* The device name.
*/
G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:source:
+ * GdkDevice:source: (attributes org.gtk.Property.get=gdk_device_get_source)
*
* Source type for the device.
*/
G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
- * GdkDevice:has-cursor:
+ * GdkDevice:has-cursor: (attributes org.gtk.Property.get=gdk_device_get_has_cursor)
*
* Whether the device is represented by a cursor on the screen.
*/
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:vendor-id:
+ * GdkDevice:vendor-id: (attributes org.gtk.Property.get=gdk_device_get_vendor_id)
*
* Vendor ID of this device.
*
G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:product-id:
+ * GdkDevice:product-id: (attributes org.gtk.Property.get=gdk_device_get_product_id)
*
* Product ID of this device.
*
G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:seat:
+ * GdkDevice:seat: (attributes org.gtk.Property.get=gdk_device_get_seat)
*
* `GdkSeat` of this device.
*/
G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:num-touches:
+ * GdkDevice:num-touches: (attributes org.gtk.Property.get=gdk_device_get_num_touches)
*
* The maximal number of concurrent touches on a touch device.
*
G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:tool:
+ * GdkDevice:tool: (attributes org.gtk.Property.get=gdk_device_get_device_tool)
*
* The `GdkDeviceTool` that is currently used with this device.
*/
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:direction:
+ * GdkDevice:direction: (attributes org.gtk.Property.get=gdk_device_get_direction)
*
* The direction of the current layout.
*
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:has-bidi-layouts:
+ * GdkDevice:has-bidi-layouts: (attributes org.gtk.Property.get=gdk_device_has_bidi_layouts)
*
* Whether the device has both right-to-left and left-to-right layouts.
*
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:caps-lock-state:
+ * GdkDevice:caps-lock-state: (attributes org.gtk.Property.get=gdk_device_get_caps_lock_state)
*
* Whether Caps Lock is on.
*
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:num-lock-state:
+ * GdkDevice:num-lock-state: (attributes org.gtk.Property.get=gdk_device_get_num_lock_state)
*
* Whether Num Lock is on.
*
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:scroll-lock-state:
+ * GdkDevice:scroll-lock-state: (attributes org.gtk.Property.get=gdk_device_get_scroll_lock_state)
*
* Whether Scroll Lock is on.
*
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:modifier-state:
+ * GdkDevice:modifier-state: (attributes org.gtk.Property.get=gdk_device_get_modifier_state)
*
* The current modifier state of the device.
*
}
/**
- * gdk_device_get_has_cursor:
+ * gdk_device_get_has_cursor: (attributes org.gtk.Method.get_property=has-cursor)
* @device: a `GdkDevice`
*
* Determines whether the pointer follows device motion.
}
/**
- * gdk_device_get_source:
+ * gdk_device_get_source: (attributes org.gtk.Method.get_property=source)
* @device: a `GdkDevice`
*
* Determines the type of the device.
}
/**
- * gdk_device_get_display:
+ * gdk_device_get_display: (attributes org.gtk.Method.get_property=display)
* @device: a `GdkDevice`
*
* Returns the `GdkDisplay` to which @device pertains.
}
/**
- * gdk_device_get_vendor_id:
+ * gdk_device_get_vendor_id: (attributes org.gtk.Method.get_property=vendor-id)
* @device: a physical `GdkDevice`
*
* Returns the vendor ID of this device.
}
/**
- * gdk_device_get_product_id:
+ * gdk_device_get_product_id: (attributes org.gtk.Method.get_property=product-id)
* @device: a physical `GdkDevice`
*
* Returns the product ID of this device.
}
/**
- * gdk_device_get_seat:
+ * gdk_device_get_seat: (attributes org.gtk.Method.get_property=seat)
* @device: A #GdkDevice
*
* Returns the `GdkSeat` the device belongs to.
}
/**
- * gdk_device_get_device_tool:
+ * gdk_device_get_device_tool: (attributes org.gtk.Method.get_property=tool)
* @device: a `GdkDevice`
*
* Retrieves the current tool for @device.
}
/**
- * gdk_device_get_caps_lock_state:
+ * gdk_device_get_caps_lock_state: (attributes org.gtk.Method.get_property=caps-lock-state)
* @device: a `GdkDevice`
*
* Retrieves whether the Caps Lock modifier of the keyboard is locked.
}
/**
- * gdk_device_get_num_lock_state:
+ * gdk_device_get_num_lock_state: (attributes org.gtk.Method.get_property=num-lock-state)
* @device: a ``GdkDevice`
*
* Retrieves whether the Num Lock modifier of the keyboard is locked.
}
/**
- * gdk_device_get_scroll_lock_state:
+ * gdk_device_get_scroll_lock_state: (attributes org.gtk.Method.get_property=scroll-lock-state)
* @device: a `GdkDevice`
*
* Retrieves whether the Scroll Lock modifier of the keyboard is locked.
}
/**
- * gdk_device_get_modifier_state:
+ * gdk_device_get_modifier_state: (attributes org.gtk.Method.get_property=modifier-state)
* @device: a `GdkDevice`
*
* Retrieves the current modifier state of the keyboard.
}
/**
- * gdk_device_get_direction:
+ * gdk_device_get_direction: (attributes org.gtk.Method.get_property=direction)
* @device: a `GdkDevice`
*
* Returns the direction of effective layout of the keyboard.
}
/**
- * gdk_device_has_bidi_layouts:
+ * gdk_device_has_bidi_layouts: (attributes org.gtk.Method.get_property=has-bidi-layouts)
* @device: a `GdkDevice`
*
* Determines if layouts for both right-to-left and